﻿namespace PropOnline.Errors
{
    using System.Web.Mvc;

    public class HandleErrorHmAttribute : HandleErrorAttribute
    {
        public override void OnException(ExceptionContext context)
        {
            base.OnException(context);

            new WebRequestErrorEventMvc("An unhandled exception has occurred.", this, 103005, context.Exception).Raise();
        }
    }
}